/**
 * 项目名：	Rumba Plan
 * 
 * 版权所有(C)，上海海鼎信息工程股份有限公司，2006，所有权利保留。
 * 
 * 文件名：	CPermission.java
 * 模块说明：	
 * 修改历史：
 * 2006-8-20 - lxm - 创建。
 */
package com.hd123.rumba.user;

import com.hd123.rumba.runtime.CVersionedPersistent;

/**
 * 权限 | 常量类
 * 
 * @author lxm
 * @see IPermission
 *
 */
public class CPermission extends CVersionedPersistent {
  
  public static String CAPTION_CLASS = "权限";
  public static String CAPTION_PERMISSION = CAPTION_CLASS;

  /** @see IPermission#getCode() */
  public static String CAPTION_CODE = "代码";
  public static final int LENGTH_CODE = 100;

  /** @see IPermission#getName() */
  public static String CAPTION_NAME = "名称";
  public static final int LENGTH_NAME = 100;

  /** @see IPermission#getCartFuncViewUuid() */
  public static String CAPTION_CARTFUNCVIEWUUID = "构件包功能视图";
  public static final int LENGTH_CARTFUNCVIEWUUID = 128;

  /** @see IPermission#getRemark() */
  public static String CAPTION_REMARK = "备注";
  public static final int LENGTH_REMARK = 200;

  /** @see IPermission#getProvider() */
  public static String CAPTION_PROVIDER = "权限提供者";

  /** @see IPermission#getFieldCaption() */
  public static String CAPTION_FIELDCAPTION = "字段标题";
  public static final int LENGTH_FIELDCAPTION = 32;

  /** 权限标识后缀：字段查看权 */
  public static final String SUFFIX_PERMISSION_VIEW = ".查看权";
  /** 权限标识后缀：字段修改权 */
  public static final String SUFFIX_PERMISSION_EDIT = ".修改权";
}


